import request from '@/utils/request'

// 查询审批列表
export function listForm(query) {
  return request({
    url: '/system/form/list',
    method: 'get',
    params: query
  })
}

// 查询审批详细
export function getForm(query) {
  return request({
    url: '/system/form/auditList',
    method: 'get',
    params: query
  })
}

// 删除审批
export function delForm(id) {
  return request({
    url: '/system/form/' + id,
    method: 'delete'
  })
}
